package com.yuyou.tas.admin.api;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import com.yuyou.tas.admin.service.ICommNoService;
import com.yuyou.tas.service.api.admin.service.CommNoAPI;





@RestController
public class CommNoAPIImpl implements CommNoAPI{

	private final Logger logger = LoggerFactory.getLogger(this.getClass());  
	
	@Autowired
	private ICommNoService commNoService;

	@Override
	public int generNo(@RequestParam("type")int type) {
		return commNoService.generNo(type);
	}
	

}
